import request from '@/utils/request'


/**
 * 绑定设备
 */
export function set_equipment(params: AnyObject) {
    return request.get(`member/set_equipment`, params)
}
/**
 * 档案列表
 */
export function list_archives() {
    return request.get(`member/list_archives`)
}
/**
 * 操作档案
 */
export function edit_archives(data : any) {
    return request.post(`member/edit_archives`, data)
}
/**
 * 删除档案
 */
export function del_archives(id : number) {
    return request.get(`member/del_archives?id=`+ id)
}
/**
 * 设备列表
 */
export function list_equipment() {
    return request.get(`member/list_equipment`)
}
/**
 * 解绑设备
 */
export function del_equipment(id : number) {
    return request.get(`member/del_equipment?id=`+ id)
}